package com.yonyou.pmclouds.productactive.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.basecom.exception.IllegalRequestArgException;
import com.yonyou.pmclouds.productactive.entity.EffectBuziInfoVO;

import java.util.Date;

public interface LicenseQuery {
    Date queryLastLicenseUpdateDate();

    EffectBuziInfoVO[] queryTenantOrderEffectInDays(Date start, Date end, Date now) throws IllegalRequestArgException;

    int getMaxUserCountOfTenant(String tenantId, Date date) throws BusinessException;

    EffectBuziInfoVO queryEffectUserOfTenant(String tenantId, Date date);
}
